<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/USB/Host/usbh_cdc_conf.h 文件参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_688c5dfbd99f3a5435dc860226c47105.html">USB</a></li><li class="navelem"><a class="el" href="dir_057b88310ed2bcdb5bf462b58b010ffd.html">Host</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">宏定义</a>  </div>
  <div class="headertitle"><div class="title">usbh_cdc_conf.h 文件参考</div></div>
</div><!--header-->
<div class="contents">

<p>USB Host CDC 类配置  
<a href="#details">更多...</a></p>

<p><a href="usbh__cdc__conf_8h_source.html">浏览源代码.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
宏定义</h2></td></tr>
<tr class="memitem:aba33836bdc81cf37af593a6497e21e1c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#aba33836bdc81cf37af593a6497e21e1c">USBH_DELAY_MAX</a>&#160;&#160;&#160;1000</td></tr>
<tr class="memdesc:aba33836bdc81cf37af593a6497e21e1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">若每 100us 执行一次 USBH_Process，则设备插入后延时 100ms 再与设备通信  <a href="usbh__cdc__conf_8h.html#aba33836bdc81cf37af593a6497e21e1c">更多...</a><br /></td></tr>
<tr class="separator:aba33836bdc81cf37af593a6497e21e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af081bb6e449758d24e7561b801b4b8f1"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#af081bb6e449758d24e7561b801b4b8f1">USBH_DEVICE_ADDRESS</a>&#160;&#160;&#160;1</td></tr>
<tr class="separator:af081bb6e449758d24e7561b801b4b8f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acce0cc4add161c4145f12382d5b8a21b"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#acce0cc4add161c4145f12382d5b8a21b">USBH_MAX_CFG_SIZE</a>&#160;&#160;&#160;128</td></tr>
<tr class="memdesc:acce0cc4add161c4145f12382d5b8a21b"><td class="mdescLeft">&#160;</td><td class="mdescRight">支持的最大配置描述符大小  <a href="usbh__cdc__conf_8h.html#acce0cc4add161c4145f12382d5b8a21b">更多...</a><br /></td></tr>
<tr class="separator:acce0cc4add161c4145f12382d5b8a21b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6e5b132b9c0056978ccd4cd37d554e4"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#ac6e5b132b9c0056978ccd4cd37d554e4">USBH_MAX_STR_SIZE</a>&#160;&#160;&#160;32</td></tr>
<tr class="memdesc:ac6e5b132b9c0056978ccd4cd37d554e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">支持的最大字符串描述符大小  <a href="usbh__cdc__conf_8h.html#ac6e5b132b9c0056978ccd4cd37d554e4">更多...</a><br /></td></tr>
<tr class="separator:ac6e5b132b9c0056978ccd4cd37d554e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af376e4d3c464b2a325f413141dea8a7a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#af376e4d3c464b2a325f413141dea8a7a">USBH_MAX_NUM_INTERFACES</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:af376e4d3c464b2a325f413141dea8a7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">支持接口个数（CDC需要两个接口）  <a href="usbh__cdc__conf_8h.html#af376e4d3c464b2a325f413141dea8a7a">更多...</a><br /></td></tr>
<tr class="separator:af376e4d3c464b2a325f413141dea8a7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adec9e6d6ef5495191e4f030072a71c94"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#adec9e6d6ef5495191e4f030072a71c94">USBH_MAX_NUM_ENDPOINTS</a>&#160;&#160;&#160;2</td></tr>
<tr class="memdesc:adec9e6d6ef5495191e4f030072a71c94"><td class="mdescLeft">&#160;</td><td class="mdescRight">每个接口支持端口数  <a href="usbh__cdc__conf_8h.html#adec9e6d6ef5495191e4f030072a71c94">更多...</a><br /></td></tr>
<tr class="separator:adec9e6d6ef5495191e4f030072a71c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a572381e903bce60c2fe8a46328ead16f"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#a572381e903bce60c2fe8a46328ead16f">USBH_HID_REPORT_SIZE</a>&#160;&#160;&#160;128</td></tr>
<tr class="separator:a572381e903bce60c2fe8a46328ead16f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acca8b472611dba7e75dca6dc50eb87af"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="usbh__cdc__conf_8h.html#acca8b472611dba7e75dca6dc50eb87af">USBH_CDC_BUFF_SIZE</a>&#160;&#160;&#160;256</td></tr>
<tr class="separator:acca8b472611dba7e75dca6dc50eb87af"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >USB Host CDC 类配置 </p>
<dl class="section author"><dt>作者</dt><dd>Lib </dd></dl>
<dl class="section version"><dt>版本</dt><dd>v1.0.0 </dd></dl>
<dl class="section date"><dt>日期</dt><dd>2022.12.08 </dd></dl>
<dl class="section since"><dt>自从</dt><dd>v1.0.0 - 2022.12.08</dd></dl>
<dl class="section attention"><dt>注意</dt><dd></dd></dl>
<p>THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, SYNWIT SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONN- -ECTION WITH THEIR PRODUCTS.</p>
<dl class="section copyright"><dt>版权所有</dt><dd>2012 Synwit Technology </dd></dl>

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 中定义.</p>
</div><h2 class="groupheader">宏定义说明</h2>
<a id="aba33836bdc81cf37af593a6497e21e1c" name="aba33836bdc81cf37af593a6497e21e1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aba33836bdc81cf37af593a6497e21e1c">&#9670;&#160;</a></span>USBH_DELAY_MAX</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_DELAY_MAX&#160;&#160;&#160;1000</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>若每 100us 执行一次 USBH_Process，则设备插入后延时 100ms 再与设备通信 </p>

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00025">25</a> 行定义.</p>

</div>
</div>
<a id="af081bb6e449758d24e7561b801b4b8f1" name="af081bb6e449758d24e7561b801b4b8f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af081bb6e449758d24e7561b801b4b8f1">&#9670;&#160;</a></span>USBH_DEVICE_ADDRESS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_DEVICE_ADDRESS&#160;&#160;&#160;1</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00027">27</a> 行定义.</p>

</div>
</div>
<a id="acce0cc4add161c4145f12382d5b8a21b" name="acce0cc4add161c4145f12382d5b8a21b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acce0cc4add161c4145f12382d5b8a21b">&#9670;&#160;</a></span>USBH_MAX_CFG_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_MAX_CFG_SIZE&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>支持的最大配置描述符大小 </p>

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00029">29</a> 行定义.</p>

</div>
</div>
<a id="ac6e5b132b9c0056978ccd4cd37d554e4" name="ac6e5b132b9c0056978ccd4cd37d554e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac6e5b132b9c0056978ccd4cd37d554e4">&#9670;&#160;</a></span>USBH_MAX_STR_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_MAX_STR_SIZE&#160;&#160;&#160;32</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>支持的最大字符串描述符大小 </p>

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00030">30</a> 行定义.</p>

</div>
</div>
<a id="af376e4d3c464b2a325f413141dea8a7a" name="af376e4d3c464b2a325f413141dea8a7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af376e4d3c464b2a325f413141dea8a7a">&#9670;&#160;</a></span>USBH_MAX_NUM_INTERFACES</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_MAX_NUM_INTERFACES&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>支持接口个数（CDC需要两个接口） </p>

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00032">32</a> 行定义.</p>

</div>
</div>
<a id="adec9e6d6ef5495191e4f030072a71c94" name="adec9e6d6ef5495191e4f030072a71c94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adec9e6d6ef5495191e4f030072a71c94">&#9670;&#160;</a></span>USBH_MAX_NUM_ENDPOINTS</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_MAX_NUM_ENDPOINTS&#160;&#160;&#160;2</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>每个接口支持端口数 </p>

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00033">33</a> 行定义.</p>

</div>
</div>
<a id="a572381e903bce60c2fe8a46328ead16f" name="a572381e903bce60c2fe8a46328ead16f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a572381e903bce60c2fe8a46328ead16f">&#9670;&#160;</a></span>USBH_HID_REPORT_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_HID_REPORT_SIZE&#160;&#160;&#160;128</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00035">35</a> 行定义.</p>

</div>
</div>
<a id="acca8b472611dba7e75dca6dc50eb87af" name="acca8b472611dba7e75dca6dc50eb87af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acca8b472611dba7e75dca6dc50eb87af">&#9670;&#160;</a></span>USBH_CDC_BUFF_SIZE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define USBH_CDC_BUFF_SIZE&#160;&#160;&#160;256</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="usbh__cdc__conf_8h_source.html">usbh_cdc_conf.h</a> 第 <a class="el" href="usbh__cdc__conf_8h_source.html#l00037">37</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
